/**
 * Copyright (c) 2009 Teoti Graphix, LLC See:
 *     http://tkarchitecture.teotigraphix.org
 * 
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 * 
 * @author Michael Schmalle mschmalle@teotigraphix.com
 */
package org.teotigraphix.dx.patterns.manager.meta
{

/**
 * @private
 * 
 * The <strong>[SkinHandler]</strong> metadata tag adds the Behavior
 * as an observer of a Skin.
 * 
 * <p>This metadata binds events from the Skin to the Behavior class.</p>
 * 
 * <p>This class inherits all metadata arguments.</p>
 * 
 * <p><strong>Warning : This will also bind bubbling events from skin parts
 * to the Behavior.</strong></p>
 * 
 * <p><em>This class is internal to the toolkit.</em></p>
 * 
 * @example
 * <listing version="3.0">
 * package or.example.behaviors
 * {
 * 
 * [SkinHandler(event="rollOver", handler="rollOverHandler")]
 * [SkinHandler(event="mouseDown", handler="mouseDownHandler")]
 * 
 * public class MyBehavior extends ComponentBehavior
 * {
 * 
 *     ...
 * 
 *     skin_handler function rollOverHandler(event:MouseEvent):void
 *     {
 *     }
 * 
 *     skin_handler function mouseDownHandler(event:MouseEvent):void
 *     {
 *     }
 * }
 * }
 * </listing>
 * 
 * @author Michael Schmalle
 * @copyright Teoti Graphix, LLC
 * @date 12-04-08
 */
public class SkinHandlerInfo 
	   extends EventHandlerInfo
{
	include '../../../core/Version.as'
	
	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------
	
	/**
	 * Constructor.
	 * 
	 * @param reflection An XML description of the element.
	 */
	public function SkinHandlerInfo(reflection:XML)
	{
		super(reflection, true);
		
		dispatcher = "component.skin";
	}
}
}